Scroll Progress Bar

Flash Cards


Which library function is used to allocate memory dynamically in C?


malloc

What is the C library function for reading characters from a file?


fgetc

Which library function is used to open a file in C?


fopen

What C library function is used for integer division with remainder?


div

What is the operator used for addition in C?


Addition

What operator is used for subtraction in C?


Subtraction

Which operator is used for multiplication in C?


Multiplication

What operator is used for division in C?


Division

What operator is used to compare two values for equality in C?


Equality

What controls the flow of execution in C programs?


Control

What is the C control structure that allows you to execute a block of code repeatedly?


Loop

What C control structure is used for decision-making based on a condition?


If

What is used to terminate the current loop iteration and move to the next one in C?


Continue

What C control structure is used to handle exceptions or errors?


Try

What is the purpose of an 'if' statement in C?


Conditional